import { VerticalBox } from "std-widgets.slint";
export component NoteValueWidget inherits Rectangle {
    background: #ffffff;
    border-radius: 5px;
    drop-shadow-blur: 10px;
    drop-shadow-color: #eee;
    drop-shadow-offset-x: 10px;
    drop-shadow-offset-y: 10px;
    
    in property <string> title;
    in property <string> text;

    VerticalBox {
        padding: 10px;
        Text {
            text: title;
            font-size: 14px;
            color: #999;
        }
        Text {
            horizontal-alignment: center;
            text: text;
            font-weight: 800;
            font-size: 25px;
            color: #aaa;
        }
    }
}